# API异常处理
class ApiException(Exception):
    def __init__(self, code=400, msg="Internal Server Error"):
        self.code = code
        self.msg = msg
        super().__init__()
